package com.feemanage.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.framework.config.BigDecimalSerializer;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 项目经费卡
 */
@Data
@TableName("biz_project_fee_card")
public class BizProjectFeeCard extends myBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    private String id;

    /**
     * 项目ID
     */
    private String projectId;

    /**
     * 经费卡号
     */
    private String feeCardNum;

    /**
     * 经费卡负责人
     */
    private String feeChargerName;

    /**
     * 经费卡负责人ID
     */
    private String feeChargerId;


    /**
     * 经费负责人工号
     */
    private String feeChargerCode;

    /**
     * 经费负责人所属单位ID
     */
    private String feeChargerUnitId;

    /**
     * 状态（0进行中 1已结题）
     */
    private String transferState;

    /**
     * 结题卡号
     */
    private String transferFeeCode;

    /**
     * 结题金额-元
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal transferFee;

    /**
     * 经费结转从表id
     */
    private String feeCardTransferId;

    @TableField(exist = false)
    private  String projectName;

    @TableField(exist = false)
    private String chargerName;
    /**
     * 项目分类
     */
    @TableField(exist = false)
    private String projectType;

    /**
     * 项目编号
     */
    @TableField(exist = false)
    private String projectCode;

    /**
     * 项目编号
     */
    @TableField(exist = false)
    private String projectClass;

}